<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>getcolor</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 12/04/2004</div>
    <p>
      <b>getcolor</b> -  opens a dialog to show colors in the current colormap</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>c=getcolor(title,[cini])  </tt>
      </dd>
      <dd>
        <tt>c=getcolor()  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>title</b>
        </tt>: string, dialog title.</li>
      <li>
        <tt>
          <b>cini</b>
        </tt>: initial selected color id. Default value is 1.</li>
      <li>
        <tt>
          <b>c</b>
        </tt>: selected color id or [] if the user has clicked on the "Cancel" button.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>getcolor</b>
      </tt> opens a window displaying the palette of the current colormap. 
    The user can click on a color to show its id and RGB values.
    <tt>
        <b>getcolor</b>
      </tt> returns the id of the selected color or [] if the user has clicked
    on the "Cancel" button</p>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="color.htm">
        <tt>
          <b>color</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="colormap.htm">
        <tt>
          <b>colormap</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="getmark.htm">
        <tt>
          <b>getmark</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="getfont.htm">
        <tt>
          <b>getfont</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
